Target = pboc3.0


CC = gcc
RM = rm

ifeq ($(ISSUE), debug)
    CFLAGS += -g
endif



src-files := error.c
src-files += tlv_tree.c
src-files += main.c
src-files += apdu.c

obj-files = $(patsubst %.c, %.o, $(src-files))

all:$(obj-files)
	$(CC) $(obj-files) -o $(Target)

%.o:%.c
	$(CC) $(CFLAGS) -c $< -o $@

clean:
	$(RM) *.o
	$(RM) $(Target)


